-
Notifications
You must be signed in to change notification settings - Fork 276
Remove support for non-anchor channels #3173
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
6dbd473 to
9e66e9f
Compare
9e66e9f to
9399ce2
Compare
58816b3 to
93fa59d
Compare
eclair-core/src/test/scala/fr/acinq/eclair/channel/states/e/NormalStateSpec.scala
Show resolved
Hide resolved
eclair-core/src/test/scala/fr/acinq/eclair/channel/states/e/OfflineStateSpec.scala
Outdated
Show resolved
Hide resolved
eclair-core/src/test/scala/fr/acinq/eclair/channel/states/f/ShutdownStateSpec.scala
Show resolved
Hide resolved
eclair-core/src/test/scala/fr/acinq/eclair/channel/states/h/ClosingStateSpec.scala
Outdated
Show resolved
Hide resolved
eclair-core/src/test/scala/fr/acinq/eclair/channel/states/h/ClosingStateSpec.scala
Show resolved
Hide resolved
93fa59d to
3693e12
Compare
|
I had to rebase because of conflicts, but most of the files should be unchanged since the last review. |
eclair-core/src/main/scala/fr/acinq/eclair/channel/Helpers.scala
Outdated
Show resolved
Hide resolved
|
Note that I have added further clean-up in fa5e80c, as my work on v3 transactions showed that this field won't be necessary and can thus be removed right now (which simplifies the code even more). |
sstone
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! just 2 nits
eclair-core/src/main/scala/fr/acinq/eclair/wire/internal/channel/version5/ChannelCodecs5.scala
Outdated
Show resolved
Hide resolved
eclair-core/src/main/scala/fr/acinq/eclair/wire/internal/channel/version5/ChannelCodecs5.scala
Outdated
Show resolved
Hide resolved
4168507 to
a62fd6e
Compare
|
Rebased (without conflicts) and squashed to a single commit. |
eclair-core/src/main/scala/fr/acinq/eclair/wire/internal/channel/version5/ChannelCodecs5.scala
Outdated
Show resolved
Hide resolved
231d665 to
f230129
Compare
We remove support for `static_remotekey` channels and `default` channels, as advertised in the v0.13 release. This lets us remove some code related to feerate management and simplifies the test matrix. Node operators that still have such channels must not run this version of `eclair`, which will otherwise fail to start. Note that for now, we keep sending `update_fee` whenever necessary. We could remove that now that package relay allows 1p1c packages to propagate even when the parent is below the mempool minimum feerate, but we defer that to a later PR for simplicity.
f230129 to
27e3e62
Compare
We remove support for
static_remotekeychannels anddefaultchannels, as advertised in the v0.13 release. This lets us remove some code related to feerate management and simplifies the test matrix.Node operators that still have such channels must not run this version of
eclair, which will otherwise fail to start.Note that for now, we keep sending
update_feewhenever necessary. We could remove that now that package relay allows 1p1c packages to propagate even when the parent is below the mempool minimum feerate, but we defer that to a later PR for simplicity.